{template "content","header"}
<!--main-->
<div class="main">
	<div class="col-left">
    	<div class="crumbs"><a href="{siteurl($siteid)}">首页</a><span> > </span>{catpos($catid)} 列表</div>
    	

     {loop subcat(0,0,0,$siteid) $r}
          {php if($r['catid']==61|| $r['catid']==7 || $r['catid']==67 ) continue;}
        {php $num++}
      
            
                {pc:content action="lists" catid="$r[catid]" num="100" order="id DESC" return="info" moreinfo="1"}

                <ul id="mainlist" class="list lh24 f14">
               	<div class="cat_title">
<span class="scroll_top"><a href="javascript:scroll(0,0)" _hover-ignore="1">[ ↑返回顶部 ]</a></span>
<a class="cat_title_link" href="{$r[url]}" target="_blank" title="{$r[catname]}"{title_style($v[style])}>{$r[catname]}</a>
</div>

                {loop $info $v}
	
					<li style="padding-left:10px;">
	
					
				 <a href="{$v['url']}" target="_blank" title="{$v['title']}"{title_style($v[style])}>{str_cut($v['title'],100)}</a><a style='text-decoration:none;color:#83939B'>({date('m-d',$v[inputtime])}阅{get_views('c-'.$CATEGORYS[$r[catid]][modelid].'-'.$v['id'])}次)</a>
									 {if date(time()) -$v['inputtime']<3600*24*3}
<img src="{IMG_PATH}new.gif"  alt="最近3天之内"/>

{/if}
					</li>
                {/loop}
                </ul>
                {/pc}
       
      {if $num%2==0}{/if}
		{/loop}  
  </div>
    <div class="col-auto">
        <div class="box">
            <h5 class="title-2">点击总排行</h5>
            
            {loop subcat(0,0,0,$siteid) $r}
          {php if($r['catid']==61|| $r['catid']==7 || $r['catid']==67 ) continue;}
        {php $num++}
        
             {pc:content action="hits" catid="$r[catid]" num="2" order="views DESC" cache="3600"}
            <ul class="content digg">
				{loop $data $r}
					<li><a href="{$r[url]}" target="_blank">{$r[title]}</a></li>
				{/loop}
            </ul>
            {/pc}
            
            {if $num%2==0}{/if}
		{/loop} 
        </div>
        <div class="bk10"></div>
        <div class="box">
            <h5 class="title-2">本月点击排行</h5>
                
            {loop subcat(0,0,0,$siteid) $r}
          {php if($r['catid']==61|| $r['catid']==7 || $r['catid']==67 ) continue;}
        {php $num++}
             {pc:content action="hits" catid="$r[catid]" num="2" order="monthviews DESC" cache="3600"}
            <ul class="content rank">
				{loop $data $r}
				<li><span>{number_format($r[monthviews])}</span><a href="{$r[url]}"{title_style($r[style])} class="title" title="{$r[title]}">{str_cut($r[title],56,'...')}</a></li>
				{/loop}
            </ul>
            {/pc}
                  {if $num%2==0}{/if}
		{/loop} 
        </div>
    </div>
</div>
{template "content","footer"}